package com.hp.service.impl;

import com.hp.mapper.UserMapper;
import com.hp.entity.User;
import com.hp.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userDao;


    @Override
    public User login(User user) {
        return userDao.login(user);
    }
}
